package com.wish.house.controller;

import com.wish.base.service.IAlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 张凌飞$
 * @DATE 2022/5/23$
 **/
@RestController
@RequestMapping("/house")
public class HouseController {

    @Autowired
    private IAlbumService iAlbumService;

    @GetMapping("h")
    public Object h(){
        iAlbumService.list();
        System.out.println("sasda");
        return "s";
    }
}
